StoryWorld: Chat With a World, Not Just a Model
Most AI writing demos can produce pretty paragraphs. StoryWorld does something harder and more interesting: it gives your story universe memory, structure, and consequences.
StoryWorld is a live storytelling and research environment where chat, knowledge graphs, and narrative generation work together. Instead of asking a model to invent everything from scratch every time, you interact with a system that can remember prior facts, query relationships between characters, and generate new scenes grounded in what already exists.
For this example, we use Rudyard Kipling’s The Man Who Would Be King because it is a manageable length for fast iteration, it is in the public domain, and it became a great film I have loved since childhood.
At its core, StoryWorld combines:
- a streaming chat interface for fast, conversational exploration
- a Neo4j-backed knowledge graph for entities and relationships
- ontology-guided extraction to keep facts typed and usable
- character-centered story generation with consistency checks
- optional literary editing to improve prose while preserving meaning
The result is a workflow that feels less like prompting a black box and more like building an evolving narrative world.
Why It Feels Different
StoryWorld uses an app-owned streaming chat API with an LLM query planner. When your question is clearly graph-oriented, it can route directly to Neo4j for fast, deterministic answers, then stream the result back in real time. If your request is broader or creative, it falls back to the full agent pipeline.
That means you can move naturally between worldbuilding and storytelling:
- “Who are the most connected characters in this world?”
- “How is Billy Fish connected to Dravot?”
- “Tell me about Billy Fish in 2 short paragraphs.”
You are not switching tools. You are continuing one conversation, while the system chooses the best path behind the scenes.
Story Generation With Guardrails
When you ask for a scene from a character perspective, StoryWorld does more than generate text. It gathers context from existing graph facts, drafts the story, extracts newly introduced facts, and validates those facts against structural rules (temporal, spatial, ontology, and entity-state constraints). New knowledge can then be committed transactionally to the graph.
In practical terms: your world can grow through writing, without instantly collapsing into contradiction.
Try prompts like:
- “Generate a first-person story from Billy Fish about meeting Dravot.”
- “Write a short scene from Dravot’s perspective before the mountain crossing.”
- “Now list any new facts this scene introduced.”
Built for Iteration, Not Just Output
StoryWorld is designed for rapid loops: ingest text, extract entities, query relationships, generate scenes, validate, refine, repeat. It supports local development and a live cloud deployment, and exposes clear API routes for chat, memory/KG services, and story operations.
If you are a writer, narrative designer, game worldbuilder, or AI researcher, this is the exciting part: StoryWorld treats your universe as a living system. You can ask exploratory questions, test narrative hypotheses, and generate voice-driven scenes while staying anchored to an evolving source of truth.
If you have ever wanted to build a story world you can actually talk to, inspect, and expand with confidence, StoryWorld is worth trying. Start with one character, one question, and one scene, then watch the world become coherent, searchable, and alive.
Comments (0)
Learn how…
Polis comments are cryptographically signed and published from your own site. No account needed—just your words and your domain.